package com.demo.jvm.chapter4.lock;

public class LockHappensBefore {


  static volatile int x = 0, y = 0, a = 0, b = 0;

  public static void main(String[] args) throws Exception {
    Object a = new Object();





    synchronized (a) {

    }
  }
}
